package thread.noticywait.product;

public class ThreadC extends Thread{
	private C c;
	
	public C getC() {
		return c;
	}

	public void setC(C c) {
		this.c = c;
	}

	public ThreadC(C c) {
		super();
		this.c = c;
	}

	@Override
	public void run() {
		super.run();
		while(true){
			c.getValue();
		}

	}
}
